package com.fanshilz.flower2025.apps.admin.project.resp;

import com.mybatisflex.annotation.RelationOneToMany;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

@Data
public class ProjectRecordDetailResp {

    private Long recordId;

    private Long projectId;

    private String recordContent;

    private Integer createUserType;

    @RelationOneToMany(selfField = "recordId", targetField = "objId", targetTable = "flower_attachment", extraCondition = "obj_type = 4")
    private List<AttachmentDetailResp> fileList;

    private Timestamp createTime;

    private Long createUserId;

    private String createUserName;

    private Long updateUserId;

    private Timestamp updateTime;

    private String updateUserName;

}
